home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
EnigmA Amiga Run 1997 April
/
EnigmA AMIGA RUN 17 (1997)(G.R. Edizioni)(IT)[!][issue 1997-04][EAR-CD].iso
/
EARCD
/
text
/
misc
/
abanner.lha
/
banner.doc
< prev
Wrap
Text File
|
1996-11-20
|
2KB
|
89 lines
ABANNER (C) Olov Davidsson 1996
1. Introduction
===============
Recently I started studying at the University of Linköping, Sweden, and there
I had my first contact with UNIX machines. Since UNIX in many ways is similar
to the AmigaDOS I tend to like it a lot more than for example the awful MS-DOS.
One command in UNIX that I like although it's not really good for anything is
the 'banner' command. So I thought, why isn't there a 'banner' program for the
Amiga?
I have just started to learn how to program C so I tried to program this
myself. And here it is... a very simple program that anybody could write but
I think it's fun and hopefully someone else will too.
2. What is ABanner?
===================
ABanner writes a banner consisting of # signs from the arguments you send
with it. Unlike the UNIX version ABanner is able to handle small characters
and the Swedish letters Å, Ä and Ö.
3. Installation
===============
Copy 'banner' to your C: directory. Voilà!
4. Usage
========
ABanner takes arguments and then write each one at a new line. If you want
two ore more words at one line, just put quote signs (") around these words.
If an argument exceeds 12 characters (fits into a Shell window on a 640 pixels
wide screen) ABanner will not print the characters after the 12th character.
Here's some examples:
> banner foo
##
# #
# ### ###
#### # # # #
# # # # #
# # # # #
# ### ###
> banner AMiGA "foo bar"
### # # ### ###
# # ## ## # # # # #
# # ## ## # # #
##### # # # ## # ### #####
# # # # # # # # # #
# # # # # # # # #
# # # # ### ### # #
## #
# # #
# ### ### # ##
#### # # # # #### # ####
# # # # # # # ### # #
# # # # # # # # # #
# ### ### #### ## # #
5. Then what jerk programmed ABanner?
=====================================
I did! Well, I know, it isn't that much programming, but I'm only a beginner,
alright? If you're interested in the C source (although I doubt it) or if you
wanna contact me send an e-mail to:
t96oloda@und.ida.liu.se
or if you wanna use the snailish way of mailing me:
Olov Davidsson
Björnkärrsgatan 9B.22
S-584 36 Linköping
SWEDEN